package cn.nexd.location.utils.configpath;

import android.content.res.AssetManager;

import cn.nexd.location.LocationConfigStrategy;

/**
 * Created by codngfish on 15/12/21.
 */
public class LoadLocationConfigFromAsset implements LocationConfigStrategy {
    private AssetManager assetManager;

    public LoadLocationConfigFromAsset(AssetManager assetManager) {
        this.assetManager = assetManager;
    }

    // 默认情况下,实现该方法之后需要将文件保存到 Command.NEXD_BASE_FILE_PATH
    // 定位配置文件存放到 Command.getLocationConfigPath
    // 切层文件存放到 Command.getFloorDetectionConfigPath
    @Override
    public String getLocationConfigFile(long buildingId, long floorId) {
        // 不太清楚具体的数据存放格式,需要自行实现
        return "";
    }
}
